package tk.ewentsai.dao;

import org.apache.ibatis.annotations.Param;
import tk.ewentsai.pojo.Orders;

import java.util.ArrayList;

public interface OrdersService {
    ArrayList<Orders> getAllOrders();
    ArrayList<Orders> getOrdersByUid(int uid);
    ArrayList<Orders> paginationOrders(int id);
    void addOrders(@Param("orderId") int orderId, @Param("bookId") int bookId);
    void removeOrdersByOrderId(int id);
}
